{{ define "main" }}
    {{- if eq .Params.type "about" -}} {{ partial "about.html" . }} {{ else -}} {{ partial "post.html" . }} {{ end -}}
{{ end }}